package com.hzhr.iot.device.dao.mapper.custom;

import com.hzhr.iot.device.entity.DeviceMaintenanceCardItemEntity;
import com.hzhr.iot.device.entity.ext.DeviceMaintenanceCardItemEntityExt;
import com.hzhr.iot.device.queryModel.custom.DeviceMaintenanceCardItemCustomQueryModel;

import java.util.List;

public interface DeviceMaintenanceCardItemEntityCustomMapper {
    //批量新增
    int insertBatch(List<DeviceMaintenanceCardItemEntity> recordList);
    //批量更新
    int updateBatch(List<DeviceMaintenanceCardItemEntity> recordList);
    //批量更新
    int updateBatchSelective(List<DeviceMaintenanceCardItemEntity> recordList);
    //通用查询
    List<DeviceMaintenanceCardItemEntityExt> selectExt(DeviceMaintenanceCardItemCustomQueryModel queryModel);
    //通用查询数量
    int selectCount(DeviceMaintenanceCardItemCustomQueryModel queryModel);
    //通用修改属性
    int updateProps(DeviceMaintenanceCardItemCustomQueryModel queryModel);
    //通用删除
    int delete(DeviceMaintenanceCardItemCustomQueryModel queryModel);

    //自定义查询
    List<DeviceMaintenanceCardItemEntityExt> selectExt1(DeviceMaintenanceCardItemCustomQueryModel queryModel); //or查询 详见map.xml文件
}
